﻿using System.Collections.Generic;
using System.Linq;
using NOSDC.Pocos;

namespace NOSDC.Models
{
    public sealed class PreviousEventsModel
    {
        public IEnumerable<Events> Events { get; set; }

        public bool DisplayMoreLink
        {
            get
            {
                return Events.Count() > 5;
            }
        }
    }
}
